Distributed PubSub in Elixir

A writeup on building a distributed PubSub in Elixir. From local-only broadcasts to clustered nodes.

https://vin.cy/distributed-pubsub-in-elixir?ref=ew

Implementing Quick Sort Algorithm in Elixir

Implemented Quick Sort Algorithm in Elixir, staying in line with Elixir’s functional programming paradigm. Do read. https://www.virinchi.me/portfolios/datastructures-in-elixir/quick-sort/

Packaging an Elixir/Phoenix application with Nix

Check our latest blog article about insights from companies using Nix in production, and a guide on integrating Nix with Elixir apps. https://curiosum.com/blog/packaging-elixir-application-with-nix

Thinking Elixir 223: A Boost for Nx, Lib Updates, and Passion Projects

Episode 223 of Thinking Elixir. News includes José Valim and Chris McCord’s collaboration on AI GPU clusters with Fly.io, Nx being selected for Mozilla’s Builders Accelerator with a $100,000 award, Parker Selbert’s highlights on PostgreSQL 17’s improvements for the Oban project, a major update to the Cachex library, and an extension of the call for talks deadline for Alchemy Conf 2025, and more!

https://podcast.thinkingelixir.com/223

Find and Fix N+1 Queries Using AppSignal for a Phoenix App in Elixir

We’ll dive into how N+1 queries happen, their impact on performance, and some strategies to detect and fix them with AppSignal: https://blog.appsignal.com/2024/10/08/find-and-fix-n-plus-1-queries-using-appsignal-for-a-phoenix-app-in-elixir.html

Merge Sort in Elixir

Implementing Merge Sort in Elixir.

It is the default sorting algorithm used in Elixir List sorting.

Do Read - https://www.virinchi.me/portfolios/datastructures-in-elixir/merge-sort/

Anatomy of Embedded Elixir

Working on the Nerves project, the Embedded framework for Elixir, has given me an increased appreciation for how Frank Hunleth and his collaborators through the years have structured things. And while I’ve found crossing into the Linux-heavy part of it difficult and frustrating there has been reasonable steps to take all the way from building the application layer in Elixir all the way back to fighting the bootloader. I’ll try to detail how a Nerves system is built up in this post.

https://underjord.io/anatomy-of-embedded-elixir.html

Implementing Insert Sort in Elixir

Implementing Data Structures and Algorithms in Elixir. First up- Insert Sort. Avoiding the use of for loops and if-else blocks. Only pattern matching and recursion. Do read- https://www.virinchi.me/portfolios/datastructures-in-elixir/insert-sort/

Adding a new icon collection to a Phoenix project

In my post I explain how easy it is to add a new icon collection to your LiveView/Phoenix project:

https://rodolfosilva.com/elixir/adding-a-new-icon-collection-to-a-phoenix-project/

What happens when you visit a LiveView URL

In my last post I explained how Phoenix responds to an incoming HTTP request by transforming a %Plug.Conn{}.

In the follow-up, I take things further and show you what happens if the request is served by a LiveView.

https://arrowsmithlabs.com/blog/what-happens-when-you-visit-a-liveview-url

Code BEAM America 2025: first Keynotes announced!

Chelsea Troy and Saiph Savage are the first speakers for our 2025 Erlang and Elixir Conference. You can join them as part of the Code BEAM America lineup - our Call for Talks is still open!

https://codebeamamerica.com/#keynoteshttps://codebeamamerica.com/#cft

Thinking Elixir 222: OTP Update and Deprecating Unless

Episode 222 of Thinking Elixir. News includes the release of OTP 27.1 with significant improvements to the Zip module, the upcoming deprecation of the unless keyword in Elixir 1.18, support for Data Channels in Elixir WebRTC, new test-related feature highlighted by ElixirStreams to tackle intermittent failures, a detailed blog from Discord on reducing their websocket traffic by 40%, ElixirConf Lightning talks on YouTube, and more!

https://podcast.thinkingelixir.com/222

Getting started with Elixir: A comprehensive learning path

This learning path is like a friendly tour through Elixir’s core ideas, with lots of resources and tips along the way. https://medium.com/wttj-tech/getting-started-with-elixir-a-comprehensive-learning-path-cd3e05d1196f

Getting Started with Ash Framework in Elixir

We’re starting our journey with Ash and sharing what we learn. https://optimum.ba/blog/getting-started-with-ash-framework-in-elixir

Nerves on the Spotify Car Thing [Nerves Meetup]

Join Eric Rauer for an in-depth look at porting Nerves to the Spotify Car Thing, highlighting the unique challenges of porting Nerves to consumer hardware. This talk explores the steps to get the device up and running, as well as approaches that can be used when creating new Nerves Systems.

https://www.meetup.com/nerves/events/298253643

Personal Elixir Code Aesthetics

✏️ With my side project Flick hitting an MVP milestone and inspired by some conversations during Elixir Book Club, I thought I’d take a moment to document some code aesthetic choices I made in this project. #MyElixirStatus

https://mikezornek.com/posts/2024/9/elixir-code-aesthetic/

Cachex v4.0: Optimization, Consolidation & Routing

I have just released the newest major version of Cachex, a caching library for Elixir (see the announcement post).

This releases includes several cool new internal designs and a long list of optimizations and improvements!

Feel free to check it out and let me know your thoughts!

Apply for free Student Tickets to Code BEAM Europe

Thanks to EEF, Code BEAM Europe has a Student Programme offering free virtual tickets to the Erlang and Elixir Conference. 🧑‍🎓 https://codebeameurope.com/#students

Including young people in the conversation is crucial for keeping our community vibrant and growing 💜 Apply today or share the message with your network so it reaches people who can benefit the most from the Programme

Two advanced features of inserts with Ecto

Article refers to another recently published blog post and talks about two advanced things you can do while inserting records with ecto

  • using ecto queries to get values for specific fields
  • using placeholders to reduce the amount of data passed through the query

https://bego.dev/blog/advanced-inserts-with-ecto

Setting up action auditing for a live view application

For some compliance work, we needed a way to log all actions a user makes in our application’s live view admin interface. Looking under the hood of the LiveView __using__ macro, and then in part mimicking and in part extending those approaches, allowed us to do it in very few lines of code. https://bego.dev/blog/audit-live-view

Next page